package com.geolab.service;

import com.geolab.pojo.ResponseResult;
import com.geolab.pojo.clay.*;
import com.geolab.pojo.sand.SandLoadTestRecords;
import com.geolab.pojo.sand.SandLoadTestResults;
import com.geolab.pojo.sand.SandSleeveFriction;
import com.geolab.pojo.sand.SandTipResistance;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ResponseResultService {

    ResponseResult<List<SandLoadTestRecords>> selectSandAllRecords();

    ResponseResult<List<SandLoadTestRecords>> selectSandRecordsByPage(int pageId);

    //分页功能
    ResponseResult<PageInfo<SandLoadTestRecords>> selectSandAllRecordsByPageHelper();

    ResponseResult<SandLoadTestRecords> selectSandById(int ID);

    ResponseResult<List<SandLoadTestRecords>> selectSandLike(String keyword);

    ResponseResult<Integer> countSandRecords();

    ResponseResult<List<PileLoadTestRecords>> selectClayAllRecords();

    ResponseResult<List<PileLoadTestRecords>> selectClayRecordsByPage(int pageId);

    //分页功能
    ResponseResult<PageInfo<PileLoadTestRecords>> selectClayAllRecordsByPageHelper();

    ResponseResult<PileLoadTestRecords> selectClayById(int ID);

    ResponseResult<List<PileLoadTestRecords>> selectClayLike(String keyword);

    ResponseResult<Integer> countClayRecords();

    ResponseResult<List<SandTipResistance>> querySandQcById(int ID);

    ResponseResult<List<SandSleeveFriction>> querySandFsById(int ID);

    ResponseResult<List<SandLoadTestResults>> querySandLoadResultsById(int ID);

    ResponseResult<List<LL>> queryClayLLById(int ID);

    ResponseResult<List<LoadTestResults>> queryClayLoadByID(int ID);

    ResponseResult<List<PL>> queryClayPLByID(int ID);

    ResponseResult<SoilDetail> queryClayDetailByID(int ID);

    ResponseResult<List<Su>> queryClaySuByID(int ID);

    ResponseResult<List<TipResistance>> queryClayQcByID(int ID);

    ResponseResult<List<w>> queryClayWaterByID(int ID);

    ResponseResult<List<γ>> queryClayWeightByID(int ID);
}
